﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using FreeSql.DataAnnotations;

namespace tcm.entity
{
    

    [Table(Name = "tcm_user")]
    public class User
    {
        public long id { get; set; }
        //wx_id varchar(50) comment '微信id',
        public string wx_id { get; set; }

        //login_name  varchar(10) comment '昵称',
        public string login_name { get; set; }

        //uname varchar(10) comment '姓名',
        public string uname { get; set; }

        //sex  int comment '性别 0 男 1 女',
        public int? sex { get; set; }

        //id_card varchar(18) comment '身份证信息',
        public string id_card { get; set; }

        //country  varchar(10) comment '国家',
        public string country { get; set; }

        //identityt_type int comment '证件类型 0 身份证',
        public int identityt_type { get; set; }

        //val_date datetime comment '有效期',
        public DateTime val_date { get; set; }

        //status  int comment '0:无效 1:有效',
        public int status { get; set; }

        //tel varchar(15) comment '电话',
        public string tel { get; set; }

        //bind_wx int comment '是否绑定微信0 未绑定1 已绑定',
        public int bind_wx { get; set; }

        //is_line int comment '是否在线 0 离线 1在线',
        public int is_line { get; set; }

        //tmp_mac varchar(50) comment '每次登陆 设备mac地址',
        public string tmp_mac { get; set; }

        //birthday  varchar(50) comment '生日',
        public string birthday { get; set; }

        //(微信)普通用户个人资料填写的城市
        public string city { get; set; }

        //
        public string headImgUrl { get; set; }

        //(微信)微信昵称
        public string nickname { get; set; }

        //(微信)用户个人资料填写的省份
        public string province { get; set; }

        //（身份证）民族 列如： 汉
        public string nation { get; set; }

        // （身份证）住址
        public string address { get; set; }

        public int type { get; set; }

        //create_by bigint(64),
        public long create_by { get; set; }
        //create_date datetime,
        public DateTime create_date { get; set; }
        //update_by bigint(64),
        public long update_by { get; set; }
        //update_date datetime,
        public DateTime update_date { get; set; }
    }
}
